Fixed bug in which filter regexes were not being matched on the whole string and bug in which when checking for containment, True is accidentally returned when something is not in the trie but a path to it is (i.e. node with no value).