Fix teachers who like running check.

It called datetime.timedelta.seconds rather than
datetime.timedelta.total_seconds(), so classes scheduled a day and a bit
apart were showing up.
Merge pull request #782 from benjaminjkraft/scheduling-checks-fixes

Fix teachers who like running check.