Resolves page not loading if single category is not an array