Fix rt91698

Repeatedly executing output bound params can cause the bound scalars to continually increase in size.

I wouldn't merge this right now. Best to see if the original reporter thinks it is fixed and give a few others a chance to test it in case I broke something else.

Martin