Weight logger filters max and min values. Out of range values are replaced by previous value