explicitly set @default_document_class in document_loader.rb instead of just using the first one from query conditions