Fixed redirect bug if URL is not found when rendering category search results.