Change condition to conditions.
New cases to handle.
Handled type of conditions.
Conditions in joins.
Conditions in joins - added other tests.
Has one with conditions.