Corrupt db checker