Fixed missing module variable in dbIntegrityCheck