Add debug log of final set logic for compound match