Changed from Init() to OnData() when setting query result on arrays.