Avoid null reference exception on data upload

occurs if tags is left blank in form.
Merge pull request #19 from thomasbreed/master

Avoid null reference exception on data upload