Since KNL-380 is now in, searching causes a stacktrace in the logs because the value of 0 gets turned into a value of -1 in the kernel logic, which then causes invalid SQL. Adjust this value to 1.
This is also being tracked at KNL-564
SAK-38788 userDirectoryService.searchUsers makes an errornous SQL query
SAK-39185 UserDirectoryService.searchUsers() doesn't limit the returned set