fixing issue where changeset would say applied when it wasnt finished
(cherry picked from commit cfe740831a8cde5b7e08cb0c903c77cfa55ee3d2)