Make the reduceType function use the same logic as the field. RE: #1851