Fix base selector for referenceItem retrieval

WIP - still in debugging mode