fix exception thrown in failed/delete_all when key does not exists