Fixed issue where schedule ids in report showed up incorrectly