Bugfix in exporting annotated text.