Cleaned it up a bit. Fixed rtime not being set sometimes. Having a problem with optimal opts.collection query