Split partner library filter and partner filter into two separate functions