Phantom of the Dups

Is there a way to show search results without phantom entries?
Emails are listed more than once when in special folders.

Since all emails are in ‘all mail’, all emails always show up at least 2 times.
I tried to hide the all mail, but search results still include it.

Phantoms are potentially disastrous as they appear to be dups.