deal with empty Schedule table situation