CellWorX: one more type checking fix

This allows the log files to be picked up if isGroupFiles() returns false.
Leica LIF: prevent indexing issues if an invalid field position is found