I created a python script tool that is looping through sectors (administrative boundaries) to create map tile packages. It works like a charm when creating TPKX files but stops after the first feature as completed when I use TPK instead. The tool uses a search cursor to loop through the features and then query definitions to select features from other layers, then inside the search cursor instance it is creating the TPK (or TPKx). I don't see a reason why it would consider all features for TPKX but only the first for TPK. Any idea?