Apple Mail: "Erase Deleted Items" stopped working in Yosemite

Off topic: “Erase Deleted Items” stopped working in Yosemite; nothing happens when I click on this while on Inbox or Sent mailboxes. It works normally for the individual mailboxes, but not for Inbox which is set for several accounts. A big nuisance for my habitual workflow. Anyone has run into this?

I don’t think this is related to Spam Sieve at all but it’s such a great program, if anyone knows how to fix this issue the person must linger here.