Clean up the rendering when there are no results.