Fixes get_ott_ids to work with opentreelib: 99ddadfa2a92970e2c5d9af1965acd46b50f396d