Change deprecated method (from" find"  to "where").