Removed unused import in statistics.views
Fixed query in students.views