deleting a non existant hash value should raise an error and not break the length