Tight Election Day races could mean legal battles in court