filter null values in time series

Change-Id: I648afda6db789209869688c507860f8cc2d2f908
Reviewed-on: http://review.couchbase.org/24328
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Pavel Paulau <pavel.paulau@gmail.com>