Fixed bug: pattern looping within sequence skipped first beat.