Error handling: Empty data produced from views.py was interacting with
poor error handing in query_form for the indexes, which would crash the
page.