Fixed issue with detecting when a change to courses/department actually happens