Fixed empty courses session variable.