Fixed duplicate url check