Updated 'invalid entity type' error to correspond revalidator standart