Case #48: Wrap hash searching in a try/catch block.