I'm not sure that I understand the issue correctly, so let me rephrase it and see if this is correct... When you search for a phrase in the Inbox and then navigate to the Junk Email folder, deleting all junk messages deletes everything EXCEPT for the items that would have met the Inbox search you did. So, for example, you search for "Price Quotes" in your Inbox. When you Select All > Delete messages in your junk mail afterwards, the only items that remain are the emails with "price quotes" in it. Is this correct?