Fixing this in software would be quite an effort. It needs a parameter that specifies the furthest the mount can slew before the flip and a parameter that specifies the earliest the flip can be done.
When the mount is going to reach the first position before the end of the next exposure the pre flip processes need to be done, maybe collecting an image and solving it to get a reference position for after the flip. Then the mount needs to be paused - tracking off and guiding off.
SGP then waits until the target is past the second position. When this happens it does the flip, either by dong a slew to the target or setting the pointing state. It then does the pre imaging processes, accurate centring and starting guiding as required, and finally starts imaging.
Wile this is a fair amount of work to implement it may have other benefits.
In this case the pre flip limit is set before the meridian and the post flip limit after, giving a zone where the mount can't go but with a mount that can track past the meridian the pre flip limit may be set after the meridian, possibly by an hour, and the post flip limit at or even before the meridian. This gives a zone which can be reached with the mount in either pointing state.
It would also help with mounts that can't track far past the meridian but must be past the meridian to flip. In this case the pre and post flip limits may both be set to a position just past the meridian. Short exposures may be OK but a long exposure would need the mount to pause until the target was sufficiently past the meridian before the slew was done.
Getting all this right would be tricky, there are a number of different cases to be handled, not least managing when things go wrong, and there could be significant UI and documentation issues.
Some of this is in place using a single pier flip position but having two limits could give more clarity and flexibility for everyone.