bug fixes for wsrep_avgreplicated/wsrep_avgreceived