fixed get_stat method

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