FIX: Bug in resample node