Fix operator precedence bug leading to fnid of 0.