#787 - rearrange code to allow detection of missing customers at start of sim session