Don't use querySelector on non element nodes