Fixed undefined index on missing fields in validations