Corrected a problem with the KettleType and the Cache logic