Fix the selection of the message to be deleted.