Fixing clearGrants()