fix forced csv serialization for index changes, issue #2676