filter search conditions (remove empty fields)