put removal of courses from the learn index in a try catch block
Merge pull request #267 from dirkcuys/master

put removal of courses from the learn index in a try catch block