Preference database pruning.