Define num_issues_query before checking it.