Correct document objects in results