Fix previous tag glitch in BeamSearch search method.