Fixed search to require all conditions.