Fixed the repository not passing the entity to contacts.