Fix "id: foo." search issue, restored accurate paging