Fixed issue with delete when a key is zero.