Fixed the new constraints instance accessor

(cherry picked from commit 565e3f4ac93dddec518e88b0469237685dd10470)