This sounds all too familiar. I haven't yet been assaulted for wearing a mask, but I've had a few crazy run-ins, including one (about a year ago) that involved a man getting angry about when during my subway commute I'd started putting on makeup...
I'm sorry this happened to you.
And regardless of whether you did it all "right," I'm sure you know you did the best you possibly could have done.