3.0The hybrid shader node automatically disconnects

Hello, I found a BUG in 3.1. When the project file of 3.0 is opened in 3.1, the mixed shader node in the node group will automatically disconnect a node.

Please report bugs via https://developer.blender.org/

You can report it from within Blender, just go to Help → Report a Bug