Added support to filter based on party names