Separate out record types before downsampling.
merge
merge