fixed a few cases where +P did not filter correctly