Fixed bug when publishing a submission that has an expired embargo.