Account is non-pending if 'identities' are present

Had transposed the and/or clause for identities check.
Changed to use delete_if for reject for removing non-exposed fields.