fix bug in incoming traffic hash checking