Bug fix & Add testJoinWithPreFilters