Fixing db result handling. Gotta catch those results.