Fix search containing slash caracters

See #448 for bug report.