Fixed bug with ValidationException handling in controllers.