The default statement in a switch clause is executed only if the other criteria don't match. I was under the wrong impression that it is always executed - even when the criteria above match - as long as one does not do a break from the clauses above it. Nope. Lesson learnt! :)