Fixed logic for adding published vs draft version of post mortem