Fix a bug with the check in multi port-channel devices