Complex hested tag .class selectors fail. Fixes #1234