Fix a bug where the error message comparison fails.
Since the error messages are now binary, this comparison failed and caused a 500 error page instead of form with error message.
Since the error messages are now binary, this comparison failed and caused a 500 error page instead of form with error message.