Fixed OP inventory sometimes counting agents twice