Fixes deprecation warning for find

Fixes #20