Dynamics colliding in percussion parts at instrument changes

Percussion parts with instrument changes are experiencing some collisions of dynamics that aren’t present in other parts. Here’s an example:

I can’t post the score publicly, but I can email it if requested.
collision in dynamics.png

This is happening because the processors that position dynamics don’t “know” that the number of staff lines has changed at the end position at which the hairpin is attached. The best solution for the time being would be to reduce the rhythmic length of the hairpin by a small amount, so that its right-hand end attaches before the change in number of staff lines.