Fix for attribute selectors