Fix the matching_work count, display the small miner work count for debug