Do not cut search for definitions short when non-definitions are found first