fixed query for local data with childrenProperty