LMS-11357 Split revert_to_publish: correctly revert to Published version