Fixed the search function to only search within the line segment created by a tornado path, not the entire line created by the path.