Fix bug kh_put after kh_del report by @mirichi