aggregate: Verify field type sanity.