Made result-rendering with alternate templates only happen if there are
results to render.