Some properties of constraints in theories with degenerate Lagrangians