Fix `Needles must be a list error` for `foo_1`

Fixes https://github.com/joelthelion/autojump/issues/274