If anyone is having this problem, and to the developers. I think it's a bug:
on line 150:
it should be:
return 1; instead of
With the change it skips the current element and goes on to the next iteration. As with the old version it would break the entire loop.