Fix misbehave disconnect bug intoduced in #4378

#4378 introduced a bug so that a node would never be disconnected is any single instance of misbehaviour was equal to or greater than the total amount of misbehaviour permitted.