use find() instead of [ ] for the unordered array

to avoid creating an empty entry which reflects on the .dmp.

This should make all the tests pass.