Sorry, my mistake.  I hadn't taken in the 'else' bit.