Escape _ in the input parameters as otherwise we spend a lot of time doing very expensive LIKE operations