Fix for the constraint deactivation in the frame order minimisation when no constraints are present.
This problem was introduced at r23211.
Authored by: bugman 2014-05-21
Parent: [r23282]
Child: [r23284]