Deal with new database format for HGMs.