clearing permissions query argument needs to ignore cursor
Merge pull request #134 from joernhees/fix_permission_clearing

clearing permissions query argument needs to ignore cursor