Data quality assessment and subsampling strategies to correct distributional bias in prevalence studies