The example works OK for me (but then it also worked before I made the latest change). Could it be something to do with Stata versions? I'm running Stata 12.1 -- what are you running?