Fix a bug that a same item can be listed twice when # of listed items is greater than Maxkey