The debug assertion is wrong as the code was changed to prioritize hints over the router target selection. Also removed the superficial check for master, slave and relay master states as they are implied by the fact that the connection is in use.