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

Add unit test.
Just note that be careful when using the done method.  I think it's apt here, so no problems I think here.