Non-existent bounding box appears in annotation after exporting a project

Actions before raising this issue

  • I searched the existing issues and did not find anything similar.
  • I read/searched the docs

Steps to Reproduce

  1. Export the whole project's annotation into CVAT For Images
  2. Here is the annotation for some specific image:
<image id="250" name="cvat/fp-fn-intervals/fco/batch1/fco_401-s_2024_06_29_10_45_36_250000.jpg" subset="Train" task_id="220" width="1920" height="1080">
    <box label="catering" source="manual" occluded="1" xtl="15.93" ytl="255.81" xbr="122.22" ybr="313.60" z_order="0">
    </box>
    <box label="fueling" source="manual" occluded="0" xtl="726.10" ytl="396.30" xbr="899.97" ybr="516.94" z_order="0">
    </box>
    <box label="fueling" source="manual" occluded="0" xtl="1573.00" ytl="373.94" xbr="1683.12" ybr="525.03" z_order="0">
    </box>
  </image>

As you can see this annotation contains 3 bounding boxes. 3. Export the annotation only for one job (the job which contains this image cvat/fp-fn-intervals/fco/batch1/fco_401-s_2024_06_29_10_45_36_250000.jpg) 4. Now the annotation contains only 2 bounding, which is actually correct (and also in the web ui there are 2 bounding boxes, not 3):

<image id="250" name="cvat/fp-fn-intervals/fco/batch1/fco_401-s_2024_06_29_10_45_36_250000.jpg" width="1920" height="1080">
    <box label="catering" source="manual" occluded="1" xtl="15.93" ytl="255.81" xbr="122.22" ybr="313.60" z_order="0">
    </box>
    <box label="fueling" source="manual" occluded="0" xtl="726.10" ytl="396.30" xbr="899.97" ybr="516.94" z_order="0">
    </box>
  </image>

Expected Behavior

The annotation for image cvat/fp-fn-intervals/fco/batch1/fco_401-s_2024_06_29_10_45_36_250000.jpg contains only 2 bounding boxes (just like in cvat web ui).

Possible Solution

No response

Context

Weird fact:

  • The extra bounding box <box label="fueling" source="manual" occluded="0" xtl="1573.00" ytl="373.94" xbr="1683.12" ybr="525.03" z_order="0"> is present in many images in the annotation for some reason (and is not present in the web ui).

Environment

Server version: 2.22.0

Core version: 15.2.1

Canvas version: 2.20.10

UI version: 1.66.4