Fixed a bug saving published page edits