Make sure that length of the map value is upper than 0.

git-svn-id: http://svn.zoo-project.org/svn/trunk@411 4b6b6ad6-68b3-4dcc-9231-bd9b83bc5dc3