Let's take jpeg out of this completely. I just want to know about the raw files. You make some adjustments to a raw file (eg white balance, exposure, etc). Then you move on and do the same to the next photo.
Then you click back on the previous photo (that you'd processed). Are you saying that it's no longer processed? Are the sliders still where you put them, or have they gone back to default settings?