Fix infinite loop in Dba

Strong and stupid indeed.