Fixed optimizers

Removed nodes from the control flow graph were saved on invalid lists
resulting in wrong code being compiled without warnings/errors