Only run compareSources if there are enough entries in the vector.

After recent refactoring, it was possible to run compareSources even when there was only one source.