Warn when incorrect use of add or set causes variables to be removed.