Fixed bug that caused inherit to always to selected (even if there is a read value).