Fix off by one issue for bucket listing.

Signed-off-by: Guang Yang (yguang@yahoo-inc.com)