Fix deprecated api query var

Signed-off-by: Mathieu Doyon <mathieu.doyon@studiofrenetic.com>