show occurrences in course plan, fix end date midnight bug