Fixed view startkey/endkey handling.