Fixed: Potential SQL error when a viewing access level is not associated with any user groups