Added feature to destroy course with no students