Fix invocation of previous optimization.