Conditional logic in not working when the submission is edited on the submission page