Changed the timing of applying the constraints so that it happens afte
 the Neq have been stacked.