Conditions Not Working in Edit Submission Page