fix while loop issue when delete keys in sepcified slot.
fix while loop issue when delete keys in sepcified slot.

JRHZRD/swapdb,JRHZRD/swapdb,JRHZRD/swapdb,JRHZRD/swapdb,JRHZRD/swapdb,JRHZRD/swapdb,JRHZRD/swapdb,JRHZRD/swapdb