Bug in code if we had no students the page would break. Fixed