Alexcue touched on it . . .
You need to review your processes; and more specifically, what is known as your "Critical Control Points." Something in your process/routine allowed this to happen.
Normally, I empty the hopper once I'm done loading a batch (unless I'm going to load something else right away, using the same powder). But I have left powder in the hopper. I did it earlier this year, in fact. But once I noticed (CCP: I always look in the hopper before I pour any powder into it), I took the second powder back in the house (CCP: I never have more than one powder on my bench at a time - ever), and put it back in its place on the shelf; and then brought the first powder (CCP: I have a log book; which I checked to ensure what was the last powder I used) back down to the garage to empty the hopper. Point is, my CCP's were in place and I corrected a problem before it became a problem.
P.S. Toss the mixed/contaminated powder