Zero result fix

Fixes #180