 				if x > y then 1 else if x < y then -1 else 0
 
 			updates = PackManager._filterAndLimit(updates, unpackedSet, filterFn, limit)
-			#console.log 'initial updates are', updates
 
 			# get all elements on the lower bound (cutoff)
 			tailQuery = _.clone(query)

				.find(overlapQuery, projection)
				.sort(sort)

			#console.log 'overlapQuery is', overlapQuery

			# we don't specify a limit here, as there could be any number of overlaps
			# NB. need to catch items in original query and followup query for duplicates



	findProjectResults: (collection, query, limit, callback) ->
		# query - the mongo query selector, includes both the doc_id/project_id and
		# the range on meta.end_ts
		# limit - the mongo limit, we need to apply it after unpacking any
		# packs

