Fixed missing return value on early return.