Fixed a bug with search. What a surprise.