Fixing a bug : when trying to add a permission to a subject, it fails if another model with the same id has the same permission on another object.