fixed empty charts not deleting.
Merge branch 'bug-empty-charts' into sprint11