fix JoinFilter edge case bug