HCSVLAB-691: Fixed security issue when searching items via the API