REPORT-625: ProgramStatesForPatientDataEvaluator does not correctly return first or last states by date