Use correct variable and correct property when counting processing order...

...s.