Musicxml export bug fixes