clearing permissions query argument needs to ignore cursor