Fixes #3872: use a string comparator for storage->name, not a memory one
Merge pull request #299 from fanf/bug_3872/search_type_memory_for_storage_name

Fixes #3872: use a string comparator for storage->name, not a memory one