Fix duplicate entries in cache database
Merge pull request #104 from adam111316/feature/FixCacheUrlIndexes.