Max of int array not working on mobile

Hi there, I have an issue which I can’t seem to solve.

This blueprint works fine on my computer, but when built to android or iOS it always returns 0 aka Red Count. Any ideas? Hope I’m not being dumb