Small fix to checkTimeDependentCriteria call. Code is still broken.