Implement inlist/inlisti expansion conditions