Fix error in GDBMIAggregatedRecord.get_record_classes.