Bug Fix: Added check for url in HashMap queriedURLs before using it.