Improve array find.
Merge pull request #1063 from Gozala/bug/array-find@887493

Bug 887493 - Improve array find r=@erikvold