Fixed potentially incorrect dereference in autorecode dialog