adds nil check for filter values when buidling config

we have to other any added agent type can bomb out