BUG - AMS selects wrong filament if it's the same colour

Same here. Got PLA back in slot 1, orange in 2 and green in 3. All bambu pla auto detected. Started printing with PLA black and after the spool was empty it continued with slot 3 PLA green with the information continuing with same pla. Any guess?