Fixed missing return value on early return.

Fixes issue #87.