Fixed bug with setting half-notes