Fixed bug when removing partially overlapping constraints

Signed-off-by: Ken Arroyo Ohori <g.a.k.arroyoohori@tudelft.nl>