Fixed how active datapath is set.