An oven having a cooking cavity and a removable rack structure has a rack
sensor in the oven. The sensor provides an indication of an absence or
presence of the structure and an oven control permits oven cleaning in
response to the indication of the absence of the structure or prevents
oven cleaning in response to the indication of the presence of the
structure.