hmm.. interesting find, and since the two codes are almost identical, the difference being the extra braces, to my thinking they both should've returned the same thing.
This might be better located in the bug reports section, as that's what it looks like to me.