Minor fix for to detect `find` method

Fixes #4583
Merge pull request #4584 from twokul/model-find

Minor fix for `find` method