- Improved the error-checking for some delete_item() calls.