ReadViewEntries & StartKey/UntilKey

I am trying to get a json list of categories using readviewEntries & startkey/untilkey & CollapseView.

I’m using startkey and until key because my categories are made up of multiple values

e.g. approver|originator|status

basically, I query using approver e.g. startkey=approver|&untilkey=approver|_ to get all categories that start with the approver’s name. The idea is to provide user with filter dropdowns, that will ultimately determine what is displayed using show single category.

In 2 particular views, I am having problems retreiving the last approver categories in the view. The returned json is empty or only has the first category for the approver. When I remove untilKey it works fine.

Any way I can get this to work properly? In most views it works fine.