Making writer update more robust.

I was getting errors in scans where it was crashing out if some of
the content list was empty, so I've fixed it so that it will not
try to include Nones in the content.
Merge pull request #1 from radiosilence/master

Making writer update more robust.