Remove trailing whitespace from constraint