Thanks for catching that.

I added the suggested test but in a slightly different way since it fails when the haystack is a string and the needle a lazy object (this behavior was present before so it's not a regression).