Fix for multiple permissions.