Edit Election bug fixed

When you didn't have any candidates selected when editing an election,
PHP would spit out an error.