lavfi/metadata: fix metadata deletion if comparison returns false