Fixing by_election field insert query.
Scheme revised for parties table.
Parties table build class.