Fixed case-sensitivity bug for attribute selectors