Fixed Repo bug in /items/add endpoint