Fix KeyError when showing schedule