Small fix to edit saved queries