filterbox clear logic fix