Fix bug which prevented schedule from being properly displayed