Fix controlling number of repetition when looping "clips"