I suggest reverting the title & body title in that specific case. (as its a really old question)
The edit invalidate your answer, but you must know the edit was because of a old OP comment he left 2hr2 hours after your answer. (that he has not yum)
The context didnt changedI don’t know how we can protect into that specific case, as I see it as a human error, as the OP should had left you that comment (on your answer or tagged), as it was surely because of your answer he wrote it, and a really late edit that brought back the question ininto the feed.
That would bringReverting the context backedit could be an option, but the edit was fair if you agreetake into context the OP comment.