Implement JOIN filtering