r.array.indexOf: bug with 'this' fixed