Fix SQL configurable resolver not decrementing counter to setup the
parameter index.