Add filtering to pending orders