Issue with custom fields and multi queue searches

I am unable to search for tickets in multiple queues and include
a
custom field unless the custom field is used by both queues.
Otherwise,
the queue that doesn’t have the custom field will be missing
from the
results, I’ll try to explain better with an example…

    QueueA with no custom fields
    QueueB with custom field CustomA with value ValueA
    
    I create the following search
    
    "( ( Queue = 'QueueB' AND 'CF.{CustomA}' = 'ValueA' ) OR Queue =
    'QueueA' )"
    
    I would expect to get all tickets from QueueA, but instead get
    none
    because the query join requires the custom field and its not
    associated
    to the second queue.
    
    
    Thanks...
    
    Pete