Initial version of using chosen for search
Remove extra logging
Methods for getting descendants/building queries