Fix the search method to actually take the keyword argument 'active' into account

Oups