#443 added logic to fix DB insertion for course