fixed implementation of cohort internal consistecy checks to run after all fields are calculated