Fix inserting new courses

again
don't fail when there's no slug in the URL
Add extra id tags to help out the patcher