I came across a case when I need to ignore the condition if the many-to-many field is empty and vice versa apply the condition if it exists, which I\'m trying to do: