Fix error after updating metadata when filter is on
When you have a filter on, an error would happen if you update the metadata of a track so that the filter no longer matches. For example, filtering for `Warrior` and updating a track called `Warrior` to `Warrio`.