Fix for nested elements. 

WTF getMatchedCSSRules. I think something changed