bug fix - nullable validationErrors

Fix for validationErrors when returning a null value