Gustav, Amalie and the other girl (Elisabeth) died in the 17th, 18th. and 19th century respectively. Thus, they both call Gustav a "Great Uncle" just for simplicity, even though there are a few more generations between him and Amalie and especially Elisabeth.
(Great backstories, by the way.)