John,
It should work, Please post the input queues and output queues screenshot.
Try the below logic as well using if then else and exists functions.
Source-------------exists--------------------------------IF----------------------------------Target
|
|---------------------------------------------------------Then
Constant-------------------------------------------------Else
[]