Fix:Problem on deletion of a game and restore a course