Merge pull request #3 from segmentio/visit

fix for new rework-visit api
fixed for comments nested inside selectors