The reason that w/uniq has the nil is so that + thinks it's adding lists, not numbers. Of course, pg could have just used join there, which would (a) eliminate the typing problem, and (b) in the nil case, produce (join), which is nil.
Also, if you want to reply directly to a person, click on the reply link below their post; it makes following the conversation a little bit smoother :)