Added filtering of learning accroding to network