Fix a bug checkpoints incorrectly restricting nudging.

This was caused by segments being restricted incorrectly by checkpoints
on that same segment but at slightly different positions.