I've recently switched to using Gmail via IMAP in Mail.app on Lion, and I've mostly got it configured to do what I want. However, there's one annoyance I haven't been able to fix yet. Because of Gmail's peculiarities, I have at least 2 copies of every message in my inbox - 1 in my inbox, 1 in the All Mail folder (Gmail's archive). This isn't a big deal, except that Mail seems to like to announce this fact for every message that's got a duplicate, like so:

I'm aware that in Gmail's IMAP settings you can disable the All Mail folder from showing up on the client, but I like having it around for search purposes (and it doesn't solve the problem of duplicates when you label something). Is there any way, short of disabling All Mail, to get rid of this duplicate detection? Or should I just work on being less annoyed by superfluous messages?