Fixed bug causing start and end attributes being added to all note segments