Fix a bug resulting from the change to RefItems
Merge branch 'fix_apiv1_details'

* fix_apiv1_details:
  Fix a bug resulting from the change to RefItems