Fix broken deep search