Data Consistency for P2P Collaborative Editing