Fix empty tracks displayed in library when browsing directories.