Fixed serialization/deserialization problem that can come from cut/copy commands