Modified extension to allow for a value to be set if the slot has
contents as well as if it does not.