add query for bug 1226791