Fixed odd search bug