Fixes #1061. "is" attribute selectors fail