When searching a path / drv path, use separate queries for both options to prevent seq. scan.

Created by  Rob Vermaas  on April 26, 2013
FHOH54HQJOWN2HGIKLVADURVYYHIIORLKEFI4NVKE4K457GLG6CAC
Change contents