Fixed issue #7144: Checking data integrity does not work