Ensure folds are closed at diff creation