Moved the `IN()` predicate into the `ON` clause of the join