Fixes for cssHack and cssAttributeSelector

See the related commits. This fixes a couple herp derps I had from my previous pull requests..