I'm trying to execute search on the Deleted Items folder but I get following error `Run-time error '-2147023281 (8007064f)': The operation failed` on line `Set Search = ...`. Code runs without problem on Inbox but fails to run on any other folder.

```vb
' Program.bas standard module

Option Explicit

Public Sub FindAndOpenMail()

    Dim Query As String
    ' Construct filter. 0x0037001E represents Subject.
    ' ci_phrasematch is taken from Filtering Items Using Query Keywords (MS DOCS).
    Query = "https://schemas.microsoft.com/mapi/proptag/0x0037001E" & _
            " ci_phrasematch 'Inactive'"

    Dim Search As Search
    Set Search = Application.AdvancedSearch("Deleted Items", Query)

End Sub

```