Solves issue #13 in HIST taht arose from row_ids being included in some data and not others.