Add query for bug 1251512

Similar to bug 1251920 but with a different error.

Change-Id: Id756f24d2678e05e46785a71de171167ce38143d