Simplified DB check.