Fix publish-to-Parse logic.