fixes error when bulk loaded document does not respond to database=