Simplify HTMLCollection predicates