Fix errors when games doesn't have duration

for games stats with the old api