Make it possible to derive parameters in DeleteBy queries