Fixed run_logic Logic

Had them reversed.