Fixed error in Sequencer::search