Change 19198 to use deleteSelectedMessages().