Bug fixes in the constraint mapping endpoints of arc and range of arc