A similar problem/bug was reported in 2020 already, for Kobo Collect. See Cases not removed after repeat_count was reduced (KoBoCollect). (Test case is included).
@rachitgt.
Do you use Collect (ODK or Kobo?) on the phone? Or Enketo?
Do you use Enketo (Webform) on the pc?