I figured this out. When you save your brush the first time, it automatically fills in the # of cells as the number of layers in the file. If you add layers after your first save, make sure to adjust the number of cells. The # of cells should always be equal to the # of layers, just like the # of ranks.