Added a constraint for checking a unit weapons are in the interval.