Fix bug when zero records with stackable resolver

we need to return an empty array if we dont have any records to respond with from the storage or the recursive query.