Fixes issue relating to the fix for U4-2589 where we need to clear the published db flag for previous versions when creating a new published version.