Parameter values get saved and restored by rack automatically. I suspect you may be observing a knock-on effect of that. Implement dataToJson and dataFromJson to hook into the serialization steps and take control of how/when your parameters are initialized.
2 Likes