Add startkey and endkey paramets to report view queries