Fix law search to work with csv data input