Changed search function to look for substrings of keys.