Fix error when editing with transformed buffer
Fix error when editing with transformed buffer

Fixes #33

Operational-Transformation/operational-transformation.github.com,Operational-Transformation/operational-transformation.github.com,Operational-Transformation/operational-transformation.github.com