Fixed a bug where the chart was not showing the latest unpublished state when in edit mode