Fix the issue of showing incorrect data for weeks of schooling and home class