minor fixes on Schedule

1. indentation
2. avoid looping on dates vector