calcgrade first-run bugfix

fixes the bug where calcgrade does not show grades when run for the first time.