checked whether the status is PUBLISHED before returning the election
results.