Fixed bug in constraints