Auto-submit upon selection for quick search
Fix failing tests

Was failing upon rendering the template.