Fixed defect with documents mapping