Filter updates

Fixed sql queries for filter_prevalence. Beginning to build on locality
uniqueness filter