This is solved with a [patch to Tracker](https://gitlab.gnome.org/GNOME/tracker/-/merge_requests/353).