Check if filter.Logic is not null.