Add support for multiple search attributes

Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>