Fix bug in local key delete function
Fix bug in local key delete function

Signed-off-by: kizbitz <aaf88dc49a82ab24b325ac267fdcf59a36abcb76@docker.com>

anokun7/train,kizbitz/train,curtisz/train,anokun7/train,danielpalstra/train,kizbitz/train,danielpalstra/train,curtisz/train