To range over a map you need to RLock() first - range is not thread safe AFAIK in the presence of deletions