fixing a search bug that Nick caused. Flippin Nick.