Add a failing testcase for stability flags in complex constraints

Refs #3570
Support parsing stability flags on complex constraints

Fixes #3570
Merge pull request #3583 from stof/complex_stability_flag_issue

Fix the parsing of stability flags on complex constraints