Added the constraint to the primary vertex