We should keep base_flags after CoW object datablock was updated. Not entirely happy with current solution, but it fixes crash and allows us to run tests again. More proper solution would be to make CoW operation a per-component thingie, which will only update corresponding parts.