Remove toLower from doQuery