Engine crash when i try to check if an actor array element isn't null

I have made some more tests and now I am sure the problem is in the if on line 25 of cpp file but still cant figure out what is wrong though.