Fix parameter ordering to add_item

This bug was introduced by a recent commit.  End-to-end API testing
should be in place to catch these problems, but this commit does not
contain them in interest of unbreaking HEAD.

Change-Id: I4ee2a7db33ae1ae002c4bc5931c94bb2ab19698b