Kids are a completely different ball game when it comes to things like this, so no, I don't think you were mean at all. If you're not comfortable with your mum touching your belly then that's OK, it's about you, not her.

I'm sure she understood the different rules for your niece, I know I would. If you feel the urge to include her next time then do so, and if not, that's OK too