[processing] fix handling of optional string arguments (fix #9109, 9120)