Invalid value used if no filter name is set instead of -1
Filter sequences created in a setup without a filter wheel and loaded into a setup with a filter wheel can cause problems. To reproduce this (whithout this fix):
- Create a sequence from a setup without a filter wheel configured in the optical train used in Capture and store it.
- Load this sequence in a setup with a filter wheel configured in the profile, but not in the optical train.
- Now configure it into the optical train and start the sequence. You will observe that the sequences hangs with "Filter change..."