Fixes for MMS in Flame

Tricky. As a note, I think i've seen that it's possible to use this tag -> ancestor::<element>, which can be more stylish. Haven't tried so far.