Fixed error in clearing of transmitions