Fix potential break if option in history is not traversable