Refinements to quoted items detection