Fix yesno export to CSV

As discussed with Rob.
Merge pull request #776 from Sophist-UK/fix_yesno_export_to_csv

Fix yesno export to CSV