Fix attributeNamed comparison bug
Selectors cleanup
Fixed selector nth parsing failure