Fixing add course category see BT#7319