Stop scan loop when current is larger than total

I ran into a scan loop when some files were deleted but the metadata fro mthe music ap hadn't yet catched up. In that case I would see "Updating 10/14" and the logic would endlessly retrigger the scan call ...

@MorrisJobke @DeepDiver1975