Fix for published_on in documents#edit