Implemented fix for crash when accessing Categories page