Fix minute search bug