Fixing display of attendance assignments when there are no students present in the course