Fix when searching for attributes in empty results