[#7351] convert export_controlled to bool before comparing to current value
[#7351] Added test for export_controlled audit log fix