Fix copy/paste error in nans cleanup