Fixing the issue with smart search export.