Fixed bug that broke document folding that was removed in a recent update