Fix for datastore write operation + datasizes.