Fixes an "optional" exception.