dbQuery fix for previous commit