Add proper check for value presence in Hash#deep_merge