bug fix in attribute selector parsing