Yes, as I said it depends on your aim, I was just showing that it is possible to do better than random selection which someone was claiming it wasn't possible to do.
Your solution is higher EV but with a lower guarantee, whether that is "better" depends on your utility function.
Not true though. Pick from bag 1 until you get 3 magic beans, then pick from bag 2.
You guarantee 3 magic beans (if you're unlucky enough to pick a magic bean as the last one out of 10) and have a chance of more than 3.
This is clearly better then ignoring the second bag or picking...