Fixed an optimizer issue.