multiple keyword query with category bug fix