Fixed typo where urls were never being removed from queue.