Fix line.find('merges') condition