Remove constraint message being a string