Elections Bug Fix

Fixed a bug where elections would not close on their end date