Fixed a bug that caused a simulation not to run and supress the error.