Domain inversion should work on cases where `'in'` is used with a unique value
The domain inversion process could better handle cases like ('field', 'in', [1])
by returning in unique_value
the value of the left part if the length of list/tuple is one.
Edited by Nicolas Évrard