[MRM-1327] fix 'used by' to work under JCR store. This will still have problems under the file store at the moment