fix operator precedence error in traffic manager