Search has no errors

Fixes errors with search. Search can now be completed however the
results do not show up on the page.