modules: Skip empty sections when exporting section notes