[#30237] Set minimum type_id.  Thanks Elin