Don’t crash if sample is called on @[]

Fixes #12

Tag 11.0.1