Fixed searching flow.