fixing active admin plugin for candidate and election candidate models