Fixed issue when professor teaches no courses