Check the release thread and see if anyone else had a similar problem, and whether a solution is available, or find where the query is being run and remove it.
I cant seem to find the release thread and I dont know about changing the query but I am getting tons of error notification emails... its rather annoying...