Conditional logic does not appear to be working.