Fix notice if all values are 0