Added greater than and lesser than constraints.