On the NLS to KdV connection