Fixed QueryExecutor creation