EQS Custom Test : How to return single actor context?

I’m doing custom test using C++.

From my understanding the function to get context is by doing

(QueryInstance.PrepareContext(Context, ContextSource))

This is my code. The red highlighted area is my attempt at getting the context actor. My blueprint context object is providing a single actor while the code is taking in array so i believe it’s the cause of the crash.

So the question. How do I return single actor ? I can’t find any clue with it.