Fixed incorrect construction of fixed folds.