Fix bug #3905 [export] Custom Exporting exports all databases