Why don’t you make it a double switch but an entry from the left can only activate the left standup and an entry from the right only the right standup.
Seems like an interesting challenge?
I’m think like adding a lever in the middle of the ramp which can swing both left/right but has two switches to detect the direction it swings?