Missing gridlines for subticks

Is there a way to include the subticks between the last main tick and the end of the displayed limits?

Example code:

fv=logspace(1,log10(40000));
amp=sin(fv);

plot2d('ln',fv,amp);
h1=gca();
h1.axes_visible='on';
h1.grid=[1,1];
h1.data_bounds=[20,-1;40000,1];
h1.tight_limits=1;
h1.sub_ticks=[8,0];

The result:

I wish to have Scilab also plot the red lines at 20.000 and 30.000. And the same between 20 and 100, i.e. 20, 30, 40…

I know that i can brute force plot the lines by defining the grid with ticks.labels and ticks.location, but that should be unnecessary.

I am affraid this is the only way until an eventual fix.