Update extractQuerySection.R