Fix bugs in marginal logistic to handle all-null-input data table