Fixed bug in DeletableEntityRepository