Fixed missing registry key delete.