Fix bad assumption for runtime queryselectors.