Fixes a bug exporting users to excel