fix an issue that caused sets to identify by an unflattened BoolExpr

We discovered this issue when trying to do:

```
my %params = (
    'analysis_project_bridges.analysis_project_id' => $self->analysis_project->id,
    instrument_data => $instrument_data,
);
Genome::Model->define_set(%params)->count;
```
A breakpoint!