Switch node iterator for querySelectorAll