fix a get_readings() related issue (the unit_id is unique inside a version, not in the whole book)