Fix for duplicate error messages.

This ensures that the client validation errors are displayed once.