Fixed null pointer bug in the service. When asking for mmd by URL, the service now will try to see if we already have the corresponding document.