Uggh.  I was passing the wrong hashmap to search function.