data export bugfix

new visibility changes now considered when exporting data