Added ability to create constraints whose value is array items