Fixed bug when optics on the non-common path are specified for some but not all WFSs or some but not all science targets.