Spin-selective transmission through a single-stranded magnetic helix