For no_record you need to recurse on cur, not on cur->queryChild(0)