Attempting to fix bug in election data file handling