Changed the text of an error message so that the name of a field was correctly reported