trac #6601: Webmails: Delete multiple messages deletes one message too much