BACKLOG-5248: handle limits for the search