Topologically nontrivial and trivial zero modes in chiral molecules