Fixed statistics in case of multiple main chars

Api statistics now take the main character's game properly into account