Fix the sp_reject_filter logic

This patch fixes the optimization from the commit
"PID lookup, streaming pad filter and sbuf alloc optimizations".