Add a condition check.