longestMatch
@kha When replacing an error with a longer one, we were keeping the message for the longer error, but losing its node.