Fixed issue with rights deletion.

refs ##1818

Fixed an issue where deleting one rights grant deletes all of them.