fixed ltype_rtype set pattern to work with new set pattern handling