fixed error in simulation loop

caused by deletion of dead bacs from orglist