pbtypescript filter bug fix when used with other filters