Fixed NPE when server returns null as the value of validations