SAKIII-5541 - Fix code that went missing (uploading 1 item)

https://jira.sakaiproject.org/browse/SAKIII-5541