handle search for attributes without terms