Add query for bug 1223161