Update query counts for get_parent changes