Story74891732: fix index parameter default and spec logic