fixed get_stat
this was returning the stat value for the reference metagenome for all entries