Fix a bug in the commit for HIVE-2416.

This bug causes an exception in reduce_deduplicate_extended.q.
Make HIVE ClientPositive test pass.
Merge pull request #39 from sun-rui/shark-0.11

Shark 0.11