Fixed critical bug in R.Uplink.