It looks like what is happening is you’re actually finding no actors by that class, or at least they aren’t being added to the array (which is less likely).
Try a for each loop that adds all actors of class to a new array then get from that new array.