from and to cannot be nil or equal.