Fixed bug that prevented users that weren't logged in from accessing search