Fix build with clang.
hdata: Work on saving data from dependant tables.