Fix saving classroom with no module.