Added constraint id check for promise type + unit test
Merge pull request #519 from basvandervlies/quick_fix

Added constraint id check for promise type + unit test