I am trying to use a HABTM association between 2 tables `episodes` and `filters`. The association table is `episodes_filters`. I want to find all episodes that match both filter ids 1 and 2. My understanding is that CakePHP does AND conditions by default, but my efforts have resulted in either returning results matching either episode id 1 or 2, or no results at all.

Here is where I have landed so far with the code:

```
$filterConditions = array();
foreach($filterIds as $filterId ) {
    $filterConditions[] = array('EpisodesFilters.filter_id' => $filterId);
}

$episodeFilters = $this->Episode->find('all', array(
    'conditions' => array(
        'Episode.organization_id' => $this->Auth->user('organization_id'),
        'Episode.status' => $this->request->query['episode_status']
    ),
    'joins' => array(
        array('table' => 'episodes_filters',
            'alias' => 'EpisodesFilters',
            'type' => 'INNER',
            'conditions' => array(
                $filterConditions,
                'EpisodesFilters.episode_id = Episode.id'
            )
        )
    ),

));

```

I tried to make each filter id in the JOIN it's own condition instead of doing it as an array like: 'EpisodesFilters.filter\_id' => array(1,2), but that results in returning episodes with filters 1 or 2, not both.

Can anyone help me determine how to setup this condition for the HABTM lookup?