Handle rendering zero results

Zero results was trying to render a json no_results template. However,
it should render some json.