Do not assert when exporting compositions
BUG:412470 (cherry picked from commit 6eaae6aebf95a18b81b2a91da84642d45f433f67)