fix bug when resampling with stratification (dplyr join was causing non-unique keys when bringing in stratification cols)
add warning for 'theoretical' bug that would be introduced based on how unique keys are calculated with stratification