Replace list of error messages (containing only one message) by simple error message