Sorry, bad answer.

No, it was not a bug but `forEach` is (IMHO) much more simpler.