Debug: add trace in the inlist expansion condition