Good catch.  Changing it to a regular for/in loop.