When a contest of a nomination is instituted or where a special primary to nominate is held as provided for in this chapter, the declared nominee for such office shall not be certified until after termination of the contest filed in the time herein prescribed.