Fix issue where old bar labels stick around on dataset change.

Add unit test.
I see now why.