Fixed error in NUM_RECORDS reporting.