Fix needle-must-be-a-list crash.

See #274.