Only export published courses - should fix #136