Conditional logic not reacting as expected for a couple of fields