I try to set security level field when a customfield has some value. It is working fine.
Now I edit issue, unset security level programmatically if the customfield has no option selected, it is not working.
I updated and re-indexed issue in my edit logic.