Fix logic for showing Pending Purchase Request Alerts.