Fixed bug with overlapping constraints