Ensure that an underscore ends any prefix for the sampled records.