How to use mutliple AnalogMultiplex classes from the MIDI controller library?

Hi. I am trying to use the AnalogMultiplex class from the MIDI controller library. When I use a single instance for one Multiplexer with 8 pots it works great. But when I try to add an additional Multiplexer I am getting cross-connection where all pots are controlling the same DAW component.

Any examples of how to use the AnalogMultiplex class for multiple Multiplexers would be appreciated.

AnalogMultiplex multiplexer(A0, { 9, 10, 11, 12 } );

Analog potentiometers[] = {
  {multiplexer.pin(0), MIDI_CC::Channel_Volume, 1},
  {multiplexer.pin(1), MIDI_CC::Channel_Volume, 1},
  {multiplexer.pin(2), MIDI_CC::Channel_Volume, 1},
  {multiplexer.pin(3), MIDI_CC::Channel_Volume, 1},
  {multiplexer.pin(4), MIDI_CC::Channel_Volume, 1},
  {multiplexer.pin(5), MIDI_CC::Channel_Volume, 1},
  {multiplexer.pin(6), MIDI_CC::Channel_Volume, 1},
  {multiplexer.pin(7), MIDI_CC::Channel_Volume, 1}
};

AnalogMultiplex multiplexerPAN(A1, { 9, 10, 11, 12 } );

Analog potentiometersPan[] = {
  {multiplexerPAN.pin(0), MIDI_CC::Pan, 1},
  {multiplexerPAN.pin(1), MIDI_CC::Pan, 1},
  {multiplexerPAN.pin(2), MIDI_CC::Pan, 1},
  {multiplexerPAN.pin(3), MIDI_CC::Pan, 1},
  {multiplexerPAN.pin(4), MIDI_CC::Pan, 1},
  {multiplexerPAN.pin(5), MIDI_CC::Pan, 1},
  {multiplexerPAN.pin(6), MIDI_CC::Pan, 1},
  {multiplexerPAN.pin(7), MIDI_CC::Pan, 1}
};