added in a few things so I could use appcache for the dct
fixed bug that returned an object if its metadata value matched that of selected profile type