fix the fix (can't work on query if it hasn't been added to $dest yet)
Merge pull request #260 from zzottel/master

Small fix