Fixed broken DB connection parameter check.