Ah, fixed it!
Max_particles needs to be set before the first wait.

In A7 this did not seem to be the case.