Fixed issue where graph would take a long time to switch between 12 month date view and other views