catch unrocognized vdbid when formatting queries