Catch NaN in fill_factor