Code fixes for the class detail search: beta.