Eraser is erasing multiple layers

I am working with digital watercolors, and have created multiple layers to add detail to my painting. When I use the eraser on a selected layer, it also erases from the layers below. Even when I lock the lower layers, they are still being erased. Am I missing a setting somewhere? This didn't happen in previous versions of the software.