Fixed type checking for the cleanStrategy parameter