Set pocket filter appropriately for cases with more than one in or out pocket.
Don't set outPocket if it's the same as inPocket.