multi: fix query assertions