Fixed missing return that caused duplicate code path.