Fixed corner case of programs just started recording