Check that the last_updated value is not None before trying to encode it
Merge pull request #20 from anchor/fix-last-updated-500

Check that the last_updated value is not None before trying to encode it