Unfix bug in search query

Everything back to where I started