Fix for unable to commit changes after library collapse.
Merge pull request #766 from SkyApple/FixForUnableToCommitChangesAfterLibCollapse_ChocoButterUI

Fix for unable to commit changes after library collapse.