(3)If the candidate is not shown or his name is shown incorrectly in the list of contesting candidates, or if he dies before the commencement of the poll, the deposit shall be returned to him or to his heir as the case may be, as soon as practicable, after the publication of the list or after his death as the case may be.