Fixes #586: updating availability when classes are scheduled
Merge pull request #689 from mgersh/fix-availability-update

Fixes #586: updating availability when classes are scheduled