I know this isn't funny, but the same thing happened to my husband and he wrote an incredibly funny blog about it. You can see it
here.
My mom's Maltese just doesn't like my husband sometimes...
As for your problem, I agree that the best thing to do is just be consistent with her house training and watch her closely when you have company over. She wouldn't purposely do things to upset you.