Glad you're OK.
As a "Brit", I am well used to filtering, it can be a real help to getting from A to B in very heavy traffic. But, as others have intimated above, I do have "risk management" considerations. (I am in no way criticizing your riding, just putting down some of my own "rules" that might help others.)
If the traffic is moving above something like 15 or 20 mph, I don't filter. The actual speed depends on all sorts of probably indefinable variables, call it "gut feel" at the time.
I never travel much faster than the two queues I'm between, say 10 to 15 max; this includes stationary traffic. Again, "gut feel" comes into play.
I keep aware of other motorcyclists filtering between other lanes than mine, some car drivers will move to help one filterer only to impede another.
If a motorist does move to help me, I always raise a hand (or possibly just fingers of my right hand) as a thanks when I am just past him/her (but I never look at them, which would mean taking my eyes off what's ahead).
I'm always on the lookout for the jealous ones who will try to block you. I will hang back until they've gone back to sleep, or get a safer opportunity to pass. On one occasion, I got a lot of satisfaction from one such; he'd deliberately baulked me three times. I sold him a dummy, accelerated as if to pass him, he moved to cover my pass, I was able to flick the bike over to pass him the other side (I love the bike's handling and performance). I'd also made sure I could get past at least one other car, I didn't want to risk him being able to tail-gate me or worse.
If a faster bike comes up behind me I will pull into one of the car lanes to let him through, a combination of keeping his frustration with my slow progress down, and I can then use him to warn drivers that there are filterers coming through (also to alert the jealous types, I assume nothing).
(Have you noticed, anyone who is traveling slower than you is a bumbling *****, anyone who wants to go faster is a raving lunatic?)
In bad weather, I will still filter so long as I feel safe.
I will not filter between queues that are traveling at much different speeds, or if I see 3 or 4 youths in an old car, or if I don't feel 100% alert (there are other reasons, including the good old "gut feel").
I still remember words spoken by the instructor I had after my 35-odd year gap in motorcycling (one of many he said). "You don't ride a motorcycle to stay in a queue of cars." He wasn't advocating stupid riding, just stating one of the reasons why we ride motorcycles.
As for the legal side, in Britain we are allowed to filter provided we don't endanger ourselves or others. The "reasonableness" of our riding would be a matter of any observer's opinion. We are certainly not allowed to weave in and out of other traffic, though I see it quite often. I really wish we had many more traffic police on our roads instead of speed cameras. (Sorry, one of my pet rants.)
Sorry about the length of my pontifications, but if it helps anyone, or even makes them think, I feel it's worth it.