When I trun on AMS 2 It thinks Slot 2 is empty

When I turn on the AMS 2, it thinks slot 2 is empty. This also happens intermittently. I need to remove filament and put filament back in to get it to read as loaded. Any help would be appreciated. I’m currently using the AMS 2 with the P1S. It also doen’t matter if I swap the filaments and slots. It’s always slot 2. Thanks!