:bug: fixed issue with 0 values being ignored during sum and average