Debug merge for multiple selects