Minor fix for `find` method

Fixes #4583