fixes #35: unpublish: will delete old doc.time[version] when unpublishing