Fix for publishing pages on multi sites.