transitioned more of filters to postgres