Condition on the form not working on editing submissions