Thanks, that's a good suggestion. I cut-and-pasted this logic from somewhere else, but I agree that it is easier to read with the non-exception first.