Remove old repository storage moves

I moved all projects to another storage using the repository_storage_moves API as described here Moving repositories managed by GitLab | GitLab

The issue I’m facing, is where the move wasn’t successful the first time, Gitlab still thinks the move is in progress, so I can’t delete those projects.

When I query the API for one of these projects, I get 2 items in the response, one with "state":"failed" and one with "state":"finished"

How do I remove the “failed” ones? I know the move worked, because the old storage is gone and I can still clone the repo.