Fix crash when track number is missing