Added algorithm to remove non-PA results