Fixed an issue with the permissions model manager