Fixing the issue where thumbnails for dataset "search cards" could be chosen from files that no longer (not yet) occurred in that
particular version of the dataset.