Earlier code modification gets reverted when edit middle of conversation

Hi, I understand when modify a conversation, all code modification after will be reverted. But I notice the earlier ones also get reverted. Is this a bug?