Many pages listed in http://quarry.wmflabs.org/query/1257, eg. the third one, have pp_propname = 'wikibase_item' and a pp_value although they are not connected with an item. Purging neither on the client nor the repo helps. Note that all those pages are redirects, so maybe the problem occurred when they were redirected.
We can see another problem in the line with page_title = Bitva_u_Bibrakte which has pp_value = 'q635028', ie. with lowercase. (There are even more.) This should be investigated as it can cause invalid results when JOINing with wikidatawiki.page_title.
I got the first problem reported by @Edgars2007 few weeks ago.