Add item id constraints