This has already been fixed in the feature/export-reports branch.
commit hash: bc6f0deee3d8387135fdd21251f6097f338dfb0d
I will update the status on this bug as soon as the reports branch is merged into master which should be some time later today.