Fixed missing return value on early return.
Merge pull request #90 from nitsch/fix-return-value

Fixed missing return value on early return.