OAK-9695 correctly evaluate property type from definition during protected check