check that node_ids or ott_ids are not NA