empty-handling for curric_codes
swap var names to read more intuitively
var  in foreach was squashing previously set value
without this space, we get an SQL error, of course
enforce security in front of the deletion script
let election_id be optional, where appropriate
add logging for main DB entities