Protection added for volumes with undefined medium