Fixed publishing logic to keep key-value pair of preferred timestamp in ...

Fixes 1328:
https://jira.oceanobservatories.org/tasks/browse/OOIION-1328