bug fix. sql for class search returned literal values in it and caused error.