It doesn't. Essentially, you have to make sure that you don't fill up the volume space or else you will overwrite the hidden volume.
If you write anything to the non-hidden volume while you don't have the hidden volume mounted, you risk overwriting part of the hidden volume.