function levelrange(start, end){
	return {
		keyEncoding:'ascii',
		start:start,
		end:end + '\xff'
	}
}

function querykeys(path, starttime, endtime){
	var start = path;
	var end = path;
	if(starttime){
		start = '.' + starttime;
	}
	if(endtime){
		end = '.' + endtime;
	}
	return levelrange(start, end);
}

module.exports = {
	querykeys:querykeys,
	levelrange:levelrange
}

@@ -205,16 +205,17 @@
 %09%09start 
++
 = '.' + 
@@ -248,16 +248,17 @@
 %7B%0A%09%09end 
++
 = '.' + 

fix for generating the start and end keys