Make reverse matching robust to errored courses

@gwprice ok, here it is