Fixed a bug in the shift report.