Minor fix in casemaker in next_case_num and ..note.. Also fixed position measure value. Now it will be taken from the metadata table