Bambu Studio chooses wrong filament

I’ve selected Generic Silk filament in AMS #4. It shows correctly in the Preview screen and the Objects sidebar. But when I Print Plate, it sets up for for Bambu PLA Matte in AMS #1. I can override this, but at this point, hasn’t the gcode already been written for PLA Matte? Bambu Studio 1.8.4.51.

I think it chooses whichever filament color matches the best, with the first slot taking priority over the fourth in case of ties. The gcode is written for whatever you put it as in the slicer, so you can manually change it or try switching the filaments around.