added ppid query filter

needs testing