Thats a bug, certainly!
AkHasAndBelongsToMany->find() treats 'finder_sql' as condition though it is actually a complete sql-select-statement.
Shouldn't this be something like:
$options['joins'] = $this->associationJoin();
$current_id_clause = $this->Owner->getTableName().'.'.$this->Owner->getPrimaryKey()." = ".$this->Owner->quotedId();
$options['conditions'] = empty($options['conditions']) ? $current_id_clause : $options['conditions'].' AND '.$current_id_clause;
instead of 766..
Beside that, the passage smells: it duplicates code from the AkActiveRecord and AkHasMany and overall is hard to read.
1 to 2 of 2