Fix bug in CSV generation (all users appeared as men...)