Implemented un-deletion of patents from the map; still need to debug.