Index: post.dev.js
===================================================================
--- post.dev.js	(revision 13165)
+++ post.dev.js	(working copy)
@@ -300,7 +300,8 @@
 
 		$('#categorychecklist').children('li.popular-category').add( $('#categorychecklist-pop').children() ).find(':checkbox').live( 'click', function(){
 			var t = $(this), c = t.is(':checked'), id = t.val();
-			$('#in-category-' + id + ', #in-popular-category-' + id).attr( 'checked', c );
+			if ( id && t.parents('#categorydiv').length )
+				$('#in-category-' + id + ', #in-popular-category-' + id).attr( 'checked', c );
 		});
 
 	} // end cats

