Fix issue with rate_process=poisson and ramp time