bug fix

Hello. I fixed als_addConstraints bug.
Please review and pull this commit.