Remove all orphaned messages from list when they are deleted.