Fixed a small bug in the dashboard plugin, so data gets reset when it should.