when deleting an unsent message, must remove it from in-memory maps too, update MinMaxPair
add safety check. if this happens, you’re doing it wrong.