Fixed memory leak in students report
Speedups and memory leak fixes to students report
Merge branch 'develop'