Bug fix: no SF was generated on output cloud in some cases (especially if the 'resample original cloud' option was selected)