Fix missing argument to indexOf.