Fixed bug in router that occurred when resetting the server where the course the url referred to did not exist anymore.
Quick bug fix for the course routing issue mentioned before.