I'd like it more if you were the BB because you don't want BB to come along. This kind of move is okay in that case if you are going to shove EVERY flop. But I would usually just shove it back over in this spot.
The results are immaterial. You were just unlucky. Don't let that influence how you think about your action.