Fix for permission batch operation