Fix #1030: Possible cascade persist errors during data matrix import

Fix #1030: Possible cascade persist errors during data matrix import