fixed bug where course data was being deleted after too many revisions.