Clean up if condition.