Implemented a working stop search.