I am so sorry, both for your loss and for havign to deal with jerks like this. I'd love to be able to say "i can't believe someone could be so insensitive and callous", but unfortunately - i can't say that. It seems that funerals bring out the worst in some people. Either they simply are jerks, or they don't know how to act and are so afriad of saying the wrong thing that they say something stupid. Either way - you are the one who ends up feeling hurt.
(I think i've told this story here before: When my mother died - my sibs and i were in our early-late 20s, my mother was 53, and i was 8+ months pregnant with the first grandchild. talk about an emotional time. During Shiva, a woman came over to us and was saying " i am so sad, i lost my best friend blah blah". seriously. this is *our* *mother*. you are supposed to comfort *us* for our loss, not play "my loss is bigger than yours". [especially since you *weren't* our mother's best friend, but whatever]).