Fixed the new constraints instance accessor

(cherry picked from commit 565e3f4ac93dddec518e88b0469237685dd10470)
Merge pull request #977 from vuntz/release/stoney/master

Fixed the new constraints instance accessor