Fix extra steps in rhythm generator