Add condition to Q4.R.