Fixed a bug of the behavior when mapper/reducer returned key only