fix problems with compatibility caused when the delete key would fail its lookup and clear() op would be skipped