Adjust match of the AbstractEntityRepository