Fix a `dataAddRange` bug