Shorty Tracking: Fix the apps migration code (probably incomplete).