This is totally weird, because I did test the original example before I posted, and it worked correctly, yet just now when I tried it again, it didn't. *sigh*