Fixed CLOB error with events when restoring courses with events