Fix end condition check for alias/anchor
Fix end condition check for plain scalar
Implement FETCH-TAG