Fixed items search when involving keys of type userid, that were treated
as strings with the LIKE operator