Fixed create / edit election form issue