fixed selecting a constraint when there is none left
fixed selecting a constraint when there is none left

babelsberg/babelsberg-js,babelsberg/babelsberg-js,psieg/babelsberg-js,babelsberg/babelsberg-js,psieg/babelsberg-js,babelsberg/babelsberg-js,psieg/babelsberg-js,psieg/babelsberg-js