Add query for bug 1229475