Allowing for nested delimiters for queries