Avoid creating empty filters.