fix logic in add tuplet code
fix logic in add tuplet code

sachi-d/musicblocks,eohomegrownapps/musicblocks,hemantkasat/musicblocks,Hrishi1999/musicblocks,Kachachan/musicblocks,khandelwalYash/musicblocks-1,khandelwalYash/musicblocks-1,eohomegrownapps/musicblocks,pikurasa/musicblocks,sneh1234/musicblocks,tradzik/musicblocks,sachi-d/musicblocks,Hrishi1999/musicblocks,walterbender/musicblocks,tradzik/musicblocks,sneh1234/musicblocks,sachi-d/musicblocks,eohomegrownapps/musicblocks,walterbender/musicblocks,Hrishi1999/musicblocks,tradzik/musicblocks,Kachachan/musicblocks,walterbender/musicblocks,Kachachan/musicblocks,hemantkasat/musicblocks,pikurasa/musicblocks,khandelwalYash/musicblocks-1,pikurasa/musicblocks,hemantkasat/musicblocks,sneh1234/musicblocks