Pruning a channel and causing its last message to change causes a wrong `lastMessage` field to be set.