fix aql query
FetchOne only bool to make iteration easier - set index only once
test