BUG Fixed issue with field values being lost on publish.
Fixes #38