Fix bug with choosing correct source node.
Fix PHP notices when you unpublish a source page