Filtered Direct Preference Optimization