Fixes issue where all users/groups NOT selected on the current permissions page would lose ALL their existing permissions for the selected object, instead of only resetting the users/groups were were changing. {#997 state:resolved]
(cherry picked from commit 7091343)