fixed bug-- there was an assumption that a past schedule will always be found.