Fixed bad average calculation (was averaging the whole blockchain)