Use where clause instead of with because the pp library neds to handle failure in pp rules.