Fixed bug with duplicate URLs