Fixed incorrect behaviour of ChangeSets in Data. Respective tests added to data_test.dart.