Fixed bug related to individual permission exclusion and object removal
error when there are permissions attached to it (issue #548)