Fix searching for libraries.

Use query.find().and() instead of query.find().find() which replaces the query