Lock around filtered.average sample now calculation, to ensure monotonicity