Added error if a misspelled constraint is added.