Percentages and averages not being calculated for just one student | Gdev apps