Fixed subtype function for lrel and list.