Resolved the num_results bug.