Fixed bug with null error messages.