Would prefer to remove this line and test if (null === $grantedRight->id) to determine if it's a new granted right.