Message count doubled

So this just started happening. I have message counts doubled and if I open a message that I know I only have a single copy of; I get two messages listed in the conversation; they are exact duplicates.

It looks like em client is counting inbox and all mail items as separate folders and adding the all mail counts together. Super annoying.

This is setup with IMAP.

Update:
So I wiped the emclient database, resetup account and all is good and looking normal with message counts until I click on the All Mail “folder”, as soon as it starts syncing that folder, all my counts and conversations double.