Fixed a bug where if all students were graduated or withdrew, examining the persist flag would throw an error.