Prevent the adding of the same groups to the entity