Fix yet another mistake (find -> indexOf)