filter: Fix in string comparison, respect return status of strcmp