Prevent column summation if no non-None cells

Change-Id: I96ec5f5c6391c9234f79ad751b5c1671eda393ef