Fix text export for last notebooks