diff --git a/indra/newview/llaisapi.cpp b/indra/newview/llaisapi.cpp
index 623458cb08b3f071b5b1e8a67d501a0feaefe133..96de15bf75ce765bc0dd6f577ae64e574bb994de 100755
--- a/indra/newview/llaisapi.cpp
+++ b/indra/newview/llaisapi.cpp
@@ -385,6 +385,10 @@ void AISUpdate::parseMeta(const LLSD& update)
 			mCatDescendentDeltas[cat->getParentUUID()]--;
 			mObjectsDeletedIds.insert(*it);
 		}
+		else
+		{
+			LL_WARNS("Inventory") << "removed category not found " << *it << LL_ENDL;
+		}
 	}
 
 	// parse _categories_items_removed -> mObjectsDeletedIds
@@ -400,6 +404,10 @@ void AISUpdate::parseMeta(const LLSD& update)
 			mCatDescendentDeltas[item->getParentUUID()]--;
 			mObjectsDeletedIds.insert(*it);
 		}
+		else
+		{
+			LL_WARNS("Inventory") << "removed item not found " << *it << LL_ENDL;
+		}
 	}
 
 	// parse _broken_links_removed -> mObjectsDeletedIds
@@ -414,6 +422,10 @@ void AISUpdate::parseMeta(const LLSD& update)
 			mCatDescendentDeltas[item->getParentUUID()]--;
 			mObjectsDeletedIds.insert(*it);
 		}
+		else
+		{
+			LL_WARNS("Inventory") << "broken link not found " << *it << LL_ENDL;
+		}
 	}
 
 	// parse _created_items
@@ -804,7 +816,7 @@ void AISUpdate::doUpdate()
 		// Since this is a copy of the category *before* the accounting update, above,
 		// we need to transfer back the updated version/descendent count.
 		LLViewerInventoryCategory* curr_cat = gInventory.getCategory(new_category->getUUID());
-		if (NULL == curr_cat)
+		if (!curr_cat)
 		{
 			LL_WARNS("Inventory") << "Failed to update unknown category " << new_category->getUUID() << LL_ENDL;
 		}