[BUG #7901] allow NodeList and HTMLCollection as arguments for q()