Fixed issue with graph that was related to problems in the model that was caused by issues in the view.