Adjust QueryEngine for WikibaseDatabase changes re index sizes