Fix bug of ObjectQueryDataSource.