Category and catalog search bug fix