filter out zero loglinear terms