Trying to use the EXPORT AS CSV function, but the export has nothing in it but the headers? Any ideas on fixes?