Fixed order of copying elements from ancestors to consider the nearest ancestor first.
Merge branch 'master' of https://github.com/EeroHeikkinen/RecordManager, closes request #6. Includes additional generalization of LidoRecord.