[OE-2685] fixed a bug in gii's base element model (new API call)