HCSVLAB-518 Fix bug when fetching annotations