fixed corner case were an array of length zero would be uploaded to server
Merge branch 'master' of https://github.com/lithiumtech/li-rnr-hack