Fix item search bug