fix the fix (can't work on query if it hasn't been added to $dest yet)