Comet transport fix.

NPE were fixed for improve snippet rendering time.