[1.7.x] Fixed #23093: soft application detection for swapped models