Added a filter function to the SP list.